package com.schoolET.entity.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 管理员登录DTO
 * @author lin
 * @date: 2024/5/30
 */

@Data
public class AdminLoginDTO {

    @ApiModelProperty(value = "管理员id")
    private Integer id;

    @ApiModelProperty(value = "管理员账号")
    private String account;

    @ApiModelProperty(value = "管理员密码")
    private String password;

    @ApiModelProperty(value = "管理员姓名")
    private String name;

    @ApiModelProperty(value = "管理员token")
    private String token;

    @ApiModelProperty(value = "管理员角色")
    private List<String> role;

    @ApiModelProperty(value = "管理员权限")
    private List<String> permission;

}
